import request from "@/utils/request";

// 费用管理列表
export function listTable(query) {
  return request({
    url: "/fee/skesItemFee/list",
    method: "get",
    params: query,
  });
}

// 利润
export function calculate(data) {
  return request({
    url: "/fee/skesItemFee/calculate",
    method: "POST",
    data,
  });
}

// 修改
export function edit(data) {
  return request({
    url: "/fee/skesItemFee",
    method: "put",
    data,
  });
}

// 计算销售提成
export function salesCommissions(data) {
  return request({
    url: "/fee/skesItemFee/salesCommissions",
    method: "post",
    data,
  });
}
